﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DHQGHN.PM2.Models
{
    public class EnumeratorSearchModel 
    {
        public string ENUMERATOR_ID { get; set; }
        public string FULL_NAME { get; set; }
        public string USERNAME { get; set; }
        public string GROUPCODE { get; set; }
        public string ADMINIS_UNIT_ID { get; set; }
        public string ADMIN_CODE { get; set; }
        public string ENUM_CODE { get; set; }
        public string PAGE_INDEX { get; set; }
        public string PAGE_SIZE { get; set; }

        public EnumeratorSearchModel(string ADMIN_CODE, string ENUM_CODE,
           string FULL_NAME, string USERNAME, string GROUPCODE, string PAGE_INDEX, string PAGE_SIZE)
        {
            this.ENUMERATOR_ID = String.Empty;
            this.ADMINIS_UNIT_ID = String.Empty;
            this.ADMIN_CODE = ADMIN_CODE;
            this.FULL_NAME = FULL_NAME;
            this.USERNAME = USERNAME;
            this.GROUPCODE = GROUPCODE;
            this.PAGE_INDEX = PAGE_INDEX;
            this.PAGE_SIZE = PAGE_SIZE;
        }

        public EnumeratorSearchModel(string ADMIN_CODE, string ENUM_CODE, 
            string FULL_NAME, string USERNAME, string GROUPCODE):
            this(ADMIN_CODE, ENUM_CODE, FULL_NAME, USERNAME, GROUPCODE, String.Empty,String.Empty) { }

        public EnumeratorSearchModel() : this(String.Empty, String.Empty, String.Empty, String.Empty,String.Empty) { ;}

    }
}